﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Example48
{
    class Rectangle:Polygon
    {
        public Rectangle(int w, int h) : base(w) {
            height = h;
        }
        public int area() {
            return (width * height);
        }
    }
}
